﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.huawei.esdk.tp.professional.local;

namespace eSDK_TP_Demo_CS_CSharp
{
    public class ConferenceCtrlService
    {
        ConferenceCtrlServiceEx service;
        public ConferenceCtrlService()
        {
            service = ConferenceCtrlServiceEx.Instance() ;
        }

        /// <summary>
        /// 设置广播会场
        /// </summary>
        /// <param name="confId">会议ID</param>
        /// <param name="siteUri">会场URI</param>
        /// <param name="isBroadcast">0：开始广播 、 1：停止广播</param>
        /// <returns></returns>
        public int SetBroadcastSite(string confId, string siteUri, int isBroadcast)
        {
            int resultCode = service.setBroadcastSiteEx(confId, siteUri, isBroadcast);
            return resultCode;
        }
    }
}
